package io.charStream;
import java.io.*;
public class FileReaderTest {
	public static void main(String args[]) throws IOException {
		FileReader fr = null;
		try {
			fr = new FileReader("d:/f10.txt");
			int c;
			while ((c = fr.read()) != -1) {
				System.out.print((char) c);
			}
		} finally {
			if(fr!=null) fr.close();
		}
	}
}
